#include<iostream>
#include <sys/types.h>          /* See NOTES */
#include <sys/socket.h>
#include<unistd.h>
#include <arpa/inet.h>
#include<cstring>
using namespace std;
